<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bit Star 后台管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/lib/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/lib/style/admin.css" media="all">
    <link rel="stylesheet" href="/lib/style/login.css" media="all">
</head>
<body>

<div class="layadmin-user-login layadmin-user-display-show" id="LAY-user-login" style="display: none;">
    <form action="/doLogin">
        <div class="layadmin-user-login-main">
            <div class="layadmin-user-login-box layadmin-user-login-header">
                <h2>Bit Star 后台管理</h2>
            <#--<p>layui 官方出品的单页面后台管理模板系统</p>-->
            </div>
            <div class="layadmin-user-login-box layadmin-user-login-body layui-form">
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-username"
                           for="LAY-user-login-username"></label>
                    <input type="text" name="acc" id="LAY-user-login-username" lay-verify="required"
                           placeholder="用户名"
                           class="layui-input">
                </div>
                <div class="layui-form-item">
                    <label class="layadmin-user-login-icon layui-icon layui-icon-password"
                           for="LAY-user-login-password"></label>
                    <input type="password" name="pwd" id="LAY-user-login-password" lay-verify="required"
                           placeholder="密码" class="layui-input">
                </div>

                <#--<div class="layui-form-item" style="margin-bottom: 20px;">-->
                    <#--<input type="checkbox" name="remember" lay-skin="primary" title="记住密码">-->
                    <#--<a href="forget.html" class="layadmin-user-jump-change layadmin-link"-->
                       <#--style="margin-top: 7px;">忘记密码？</a>-->
                <#--</div>-->

                <div class="layui-form-item">
                    <button class="layui-btn layui-btn-fluid" lay-submit type="submit">登 入</button>
                </div>

            </div>
    </form>
</div>

<div class="layui-trans layadmin-user-login-footer">

    <p>© 2018 <a href="http://www.layui.com/" target="_blank">layui.com</a></p>
    <p>
        <span><a href="http://www.layui.com/admin/" target="_blank">前往官网</a></span>
    </p>
</div>
</div>

<script src="/lib/layui/layui.all.js"></script>
<script>
    function getQueryVariable(variable) {
        var query = window.location.search.substring(1);
        var vars = query.split("&");
        for (var i = 0; i < vars.length; i++) {
            var pair = vars[i].split("=");
            if (pair[0] == variable) {
                return pair[1];
            }
        }
        return (false);
    }

    getQueryVariable("msg") ? layer.msg((getQueryVariable("msg") === "ue") ? "用户名密码错误" : getQueryVariable("msg")) : "";

</script>
</body>
</html>